package net.runman.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("t_terms")
public class Terms implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 分类ID */
	@TableId
	private Long id;

	/** 分类名 */
	private String name;

	/** 缩略名 */
	private String slug;

	/** 分类集合 */
	@TableField(value = "term_group")
	private Long termGroup;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSlug() {
		return this.slug;
	}

	public void setSlug(String slug) {
		this.slug = slug;
	}

	public Long getTermGroup() {
		return this.termGroup;
	}

	public void setTermGroup(Long termGroup) {
		this.termGroup = termGroup;
	}

}
